common/memory: avoid to shadow the variable "d" in do_memory_op
authorJulien Grall <julien.grall@citrix.com>
Thu, 29 Oct 2015 11:23:34 +0000 (12:23 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 29 Oct 2015 11:23:34 +0000 (12:23 +0100)
commit4c09af65a9afeabd381b132a21dd8eaeee7e8437
treecda4ea235ebc91ea0b91a468bc31be3b5a371a36
parent5a722f89d30093cf5e1d2bc536fd73d6f9e5513f
common/memory: avoid to shadow the variable "d" in do_memory_op

The variable "d" is declared multiple times within do_memory_op.

The subsequent declaration are not useful because the top one is never
used. So drop them.

Signed-off-by: Julien Grall <julien.grall@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/common/memory.c